package cqrtplm.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 模组管理对象 RT_CFG_MZ
 *
 * @author 江小熊
 * @date 2025-09-10
 */
@TableName(value ="RT_CFG_MZ")
@Data
public class RtCfgMzDO
{

    /** 模组主键id */
    @TableId
    private String moduleid;

    /** 模块的名称 */
    private String modulename;

    /** 模块的编码 */
    private String modulecode;

    /** 关联到成品的编码，表示该模块属于哪个成品 */
    private String productcode;

    /** 模组类型 */
    private String moduletype;

    /** 内容 */
    private String content;

    /** 零部件列表 */
    private String partslist;

    /** 创建用户 */
    private String createuser;

    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date createtime;

    /** 修改用户 */
    private String updateuser;

    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date updatetime;

    /** 需求模板编号 */
    private String needtemcode;

    /** 物料编码 */
    private String partnumber;

    /** 图样代号 */
    private String patterncode;

    /** 机型 */
    private String producttype;

    public String getModuleid() {
        return moduleid;
    }

    public void setModuleid(String moduleid) {
        this.moduleid = moduleid;
    }

    public String getModulename() {
        return modulename;
    }

    public void setModulename(String modulename) {
        this.modulename = modulename;
    }

    public String getModulecode() {
        return modulecode;
    }

    public void setModulecode(String modulecode) {
        this.modulecode = modulecode;
    }

    public String getProductcode() {
        return productcode;
    }

    public void setProductcode(String productcode) {
        this.productcode = productcode;
    }

    public String getModuletype() {
        return moduletype;
    }

    public void setModuletype(String moduletype) {
        this.moduletype = moduletype;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getPartslist() {
        return partslist;
    }

    public void setPartslist(String partslist) {
        this.partslist = partslist;
    }

    public String getCreateuser() {
        return createuser;
    }

    public void setCreateuser(String createuser) {
        this.createuser = createuser;
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public String getUpdateuser() {
        return updateuser;
    }

    public void setUpdateuser(String updateuser) {
        this.updateuser = updateuser;
    }

    public Date getUpdatetime() {
        return updatetime;
    }

    public void setUpdatetime(Date updatetime) {
        this.updatetime = updatetime;
    }

    public String getNeedtemcode() {
        return needtemcode;
    }

    public void setNeedtemcode(String needtemcode) {
        this.needtemcode = needtemcode;
    }
}
